﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLKhachSan.DTO;
using System.Data;
using System.Data.SqlClient;
using QLKhachSan.DAO;

namespace QLKhachSan.BUS
{
    public class BUS_PhieuDatPhong
    {
        public static void themPhieuDatPhong(DTO_PhieuDatPhong p)
        {
            DAO_PhieuDatPhong.themPhieuDatPhong(p);
        }
        public static DataTable hienthiDanhSachPhieuDatPhong()
        {
            return DAO_PhieuDatPhong.hienthiDanhSachPhieuDatPhong();

        }
        public static void suaPhieuDatPhong(DTO_PhieuDatPhong p)
        {
            DAO_PhieuDatPhong.suaPhieuDatPhong(p);
        }
        public static void xoaPhieuDatPhong(DTO_PhieuDatPhong p)
        {
            DAO_PhieuDatPhong.xoaPhieuDatPhong(p);
        }
    }
}
